﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Ceremony.API.ViewModel
{
    public class WechatMomentViewModel
    {
        /// <summary>
        /// 发布的朋友圈Id
        /// </summary>
        public int WechatMomentId { get; set; }
        /// <summary>
        /// 顶置顺序
        /// </summary>
        public int? OverheadOrder { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 用户名称
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 角色Id
        /// </summary>
        public int? RoleId { get; set; }
        /// <summary>
        /// 用户头像
        /// </summary>
        public string HeadImgUrl { get; set; }
        /// <summary>
        /// 发布的消息
        /// </summary>
        public string Message { get; set; }
        /// <summary>
        /// 照片名称
        /// </summary>
        public string ImageNames { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public string CreateTime { get; set; }
        /// <summary>
        /// 格式化创建时间
        /// </summary>
        public string  FormatCreateTime { get; set; }
        /// <summary>
        /// 发布的照片Url
        /// </summary>
        public List<FileUrl> ImageUrls { get; set; }
        /// <summary>
        /// 评论
        /// </summary>
        public List<CommentViewModel> CommentViewModels { get; set; }

        public WechatMomentViewModel()
        {
            this.CommentViewModels = new List<CommentViewModel>();
        }
    }

}
